package com.bianmaba.spring.security.beans.basc;

import com.bianmaba.spring.supports.data.beans.basc.Result;

public class AjaxSecurityResult extends Result {
    private Double status;
    private String statusText;
    private Boolean securityMessage;
    private String failureType;

    public AjaxSecurityResult(boolean success) {
        super(success);
    }

    public AjaxSecurityResult(boolean success, String result, Double status, String statusText, Boolean securityMessage, String failureType) {
        super(success, result);
        this.status = status;
        this.statusText = statusText;
        this.securityMessage = securityMessage;
        this.failureType = failureType;
    }

    public AjaxSecurityResult(boolean success, String result, Object data) {
        super(success, result, data);
    }

    public AjaxSecurityResult(Object data) {
        super(data);
    }

    public Double getStatus() {
        return status;
    }

    public void setStatus(Double status) {
        this.status = status;
    }

    public String getStatusText() {
        return statusText;
    }

    public void setStatusText(String statusText) {
        this.statusText = statusText;
    }

    public Boolean getSecurityMessage() {
        return securityMessage;
    }

    public void setSecurityMessage(Boolean securityMessage) {
        this.securityMessage = securityMessage;
    }

    public String getFailureType() {
        return failureType;
    }

    public void setFailureType(String failureType) {
        this.failureType = failureType;
    }

}
